package com.test.multithread.springBean.beanTest;

public class Father {

    private int i = test();

    private static int j = method();

    static {
        System.out.println("1 父类静态代码块");
    }

    Father() {
        System.out.println("2 父类无参构造器");
    }

    {
        System.out.println("3 父类代码块");
    }

    public int test() {
        System.out.println("4 父类 test 方法");
        return 1;
    }

    public static int method() {
        System.out.println("5 父类 static method 方法");
        return 1;
    }

}